package com.common.dao;

import java.util.List;

import com.common.entity.PageUser;
import com.common.entity.User;
import com.common.entity.UserCorrelationRole;
import com.common.entity.UserRolesAndPermissions;

public interface UserMapper {
	public int insertUser(User user);
	public int updateUserPassword(User user);
	public User findUserByName(User user);
	public UserRolesAndPermissions getUsersRolesAndPermissions(User user);
	public int correlationRole(UserCorrelationRole userRole);
	public int uncorrelationRole(UserCorrelationRole userRole);
	public List<PageUser> getAllUserList();
}
